package guet.dream.common.util;

public class StringUtil {

	/**
	 * 将传递进来的字符串首字母大写
	 * @param str
	 * @return
	 */
	public static String capitalize(String str){
		StringBuilder strBuilder = new StringBuilder(str);
		strBuilder.setCharAt(0, str.toUpperCase().charAt(0));
		return strBuilder.toString();
	}
}
